package mars.handler.test;

import android.os.Parcel;
import android.os.Parcelable;

public class PicBean implements Parcelable {
	
	private String pic;

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(this.pic);
	}

	public PicBean() {
	}

	private PicBean(Parcel in) {
		this.pic = in.readString();
	}

	public static final Parcelable.Creator<PicBean> CREATOR = new Parcelable.Creator<PicBean>() {
		public PicBean createFromParcel(Parcel source) {
			return new PicBean(source);
		}

		public PicBean[] newArray(int size) {
			return new PicBean[size];
		}
	};
}
